#include"dao_SDL.h"

#ifdef __cplusplus
extern "C"{
#endif

/*  SDL_events.h */


static void dao_SDL_ActiveEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ActiveEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ActiveEvent_GETF_gain( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ActiveEvent_SETF_gain( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ActiveEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ActiveEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_ActiveEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_ActiveEvent_SDL_ActiveEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_ActiveEvent_Meths[] = 
{
  { dao_SDL_ActiveEvent_GETF_type, ".type( self : SDL_ActiveEvent )=>int" },
  { dao_SDL_ActiveEvent_SETF_type, ".type=( self : SDL_ActiveEvent, type : int )" },
  { dao_SDL_ActiveEvent_GETF_gain, ".gain( self : SDL_ActiveEvent )=>int" },
  { dao_SDL_ActiveEvent_SETF_gain, ".gain=( self : SDL_ActiveEvent, gain : int )" },
  { dao_SDL_ActiveEvent_GETF_state, ".state( self : SDL_ActiveEvent )=>int" },
  { dao_SDL_ActiveEvent_SETF_state, ".state=( self : SDL_ActiveEvent, state : int )" },
  { dao_SDL_ActiveEvent_SDL_ActiveEvent, "SDL_ActiveEvent(  )=>SDL_ActiveEvent" },
  { NULL, NULL }
};
static void Dao_SDL_ActiveEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_ActiveEvent_Typer = 
{ "SDL_ActiveEvent", NULL, 
  dao_SDL_ActiveEvent_Nums,
  dao_SDL_ActiveEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_ActiveEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_ActiveEvent_Typer = & SDL_ActiveEvent_Typer;
static void dao_SDL_ActiveEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ActiveEvent *self = (SDL_ActiveEvent*)DValue_CastCData(_p[0],dao_SDL_ActiveEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_ActiveEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ActiveEvent *self = (SDL_ActiveEvent*)DValue_CastCData(_p[0],dao_SDL_ActiveEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_ActiveEvent_GETF_gain( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ActiveEvent *self = (SDL_ActiveEvent*)DValue_CastCData(_p[0],dao_SDL_ActiveEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->gain );
}
static void dao_SDL_ActiveEvent_SETF_gain( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ActiveEvent *self = (SDL_ActiveEvent*)DValue_CastCData(_p[0],dao_SDL_ActiveEvent_Typer);
  self->gain = (Uint8) _p[1]->v.i;
}
static void dao_SDL_ActiveEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ActiveEvent *self = (SDL_ActiveEvent*)DValue_CastCData(_p[0],dao_SDL_ActiveEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->state );
}
static void dao_SDL_ActiveEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ActiveEvent *self = (SDL_ActiveEvent*)DValue_CastCData(_p[0],dao_SDL_ActiveEvent_Typer);
  self->state = (Uint8) _p[1]->v.i;
}
static void dao_SDL_ActiveEvent_SDL_ActiveEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_ActiveEvent *self = Dao_SDL_ActiveEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_ActiveEvent_Typer );
}

/*  SDL_audio.h */


static void dao_SDL_AudioCVT_GETF_needed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_needed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_src_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_src_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_dst_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_dst_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_rate_incr( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_rate_incr( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_buf( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_len( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_len( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_len_cvt( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_len_cvt( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_len_mult( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_len_mult( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_len_ratio( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_len_ratio( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_GETF_filter_index( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioCVT_SETF_filter_index( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_AudioCVT_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_AudioCVT_SDL_AudioCVT( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_AudioCVT_Meths[] = 
{
  { dao_SDL_AudioCVT_GETF_needed, ".needed( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_needed, ".needed=( self : SDL_AudioCVT, needed : int )" },
  { dao_SDL_AudioCVT_GETF_src_format, ".src_format( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_src_format, ".src_format=( self : SDL_AudioCVT, src_format : int )" },
  { dao_SDL_AudioCVT_GETF_dst_format, ".dst_format( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_dst_format, ".dst_format=( self : SDL_AudioCVT, dst_format : int )" },
  { dao_SDL_AudioCVT_GETF_rate_incr, ".rate_incr( self : SDL_AudioCVT )=>double" },
  { dao_SDL_AudioCVT_SETF_rate_incr, ".rate_incr=( self : SDL_AudioCVT, rate_incr : double )" },
  { dao_SDL_AudioCVT_GETF_buf, ".buf( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_GETF_len, ".len( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_len, ".len=( self : SDL_AudioCVT, len : int )" },
  { dao_SDL_AudioCVT_GETF_len_cvt, ".len_cvt( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_len_cvt, ".len_cvt=( self : SDL_AudioCVT, len_cvt : int )" },
  { dao_SDL_AudioCVT_GETF_len_mult, ".len_mult( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_len_mult, ".len_mult=( self : SDL_AudioCVT, len_mult : int )" },
  { dao_SDL_AudioCVT_GETF_len_ratio, ".len_ratio( self : SDL_AudioCVT )=>double" },
  { dao_SDL_AudioCVT_SETF_len_ratio, ".len_ratio=( self : SDL_AudioCVT, len_ratio : double )" },
  { dao_SDL_AudioCVT_GETF_filter_index, ".filter_index( self : SDL_AudioCVT )=>int" },
  { dao_SDL_AudioCVT_SETF_filter_index, ".filter_index=( self : SDL_AudioCVT, filter_index : int )" },
  { dao_SDL_AudioCVT_SDL_AudioCVT, "SDL_AudioCVT(  )=>SDL_AudioCVT" },
  { NULL, NULL }
};
static void Dao_SDL_AudioCVT_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_AudioCVT_Typer = 
{ "SDL_AudioCVT", NULL, 
  dao_SDL_AudioCVT_Nums,
  dao_SDL_AudioCVT_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_AudioCVT_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_AudioCVT_Typer = & SDL_AudioCVT_Typer;
static void dao_SDL_AudioCVT_GETF_needed( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->needed );
}
static void dao_SDL_AudioCVT_SETF_needed( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->needed = (int) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_GETF_src_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->src_format );
}
static void dao_SDL_AudioCVT_SETF_src_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->src_format = (Uint16) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_GETF_dst_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->dst_format );
}
static void dao_SDL_AudioCVT_SETF_dst_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->dst_format = (Uint16) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_GETF_rate_incr( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutDouble( _ctx, (double) self->rate_incr );
}
static void dao_SDL_AudioCVT_SETF_rate_incr( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->rate_incr = (double) _p[1]->v.d;
}
static void dao_SDL_AudioCVT_GETF_buf( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutArrayInteger( _ctx, (int*) self->buf, 0 );
}
static void dao_SDL_AudioCVT_GETF_len( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->len );
}
static void dao_SDL_AudioCVT_SETF_len( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->len = (int) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_GETF_len_cvt( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->len_cvt );
}
static void dao_SDL_AudioCVT_SETF_len_cvt( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->len_cvt = (int) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_GETF_len_mult( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->len_mult );
}
static void dao_SDL_AudioCVT_SETF_len_mult( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->len_mult = (int) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_GETF_len_ratio( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutDouble( _ctx, (double) self->len_ratio );
}
static void dao_SDL_AudioCVT_SETF_len_ratio( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->len_ratio = (double) _p[1]->v.d;
}
static void dao_SDL_AudioCVT_GETF_filter_index( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  DaoContext_PutInteger( _ctx, (int) self->filter_index );
}
static void dao_SDL_AudioCVT_SETF_filter_index( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioCVT *self = (SDL_AudioCVT*)DValue_CastCData(_p[0],dao_SDL_AudioCVT_Typer);
  self->filter_index = (int) _p[1]->v.i;
}
static void dao_SDL_AudioCVT_SDL_AudioCVT( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_AudioCVT *self = Dao_SDL_AudioCVT_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_AudioCVT_Typer );
}

/*  SDL_audio.h */


static void dao_SDL_AudioSpec_GETF_freq( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_freq( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_channels( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_channels( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_silence( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_silence( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_samples( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_samples( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_padding( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_padding( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_SETF_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_AudioSpec_GETF_userdata( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_AudioSpec_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_AudioSpec_SDL_AudioSpec( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_AudioSpec_Meths[] = 
{
  { dao_SDL_AudioSpec_GETF_freq, ".freq( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_freq, ".freq=( self : SDL_AudioSpec, freq : int )" },
  { dao_SDL_AudioSpec_GETF_format, ".format( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_format, ".format=( self : SDL_AudioSpec, format : int )" },
  { dao_SDL_AudioSpec_GETF_channels, ".channels( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_channels, ".channels=( self : SDL_AudioSpec, channels : int )" },
  { dao_SDL_AudioSpec_GETF_silence, ".silence( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_silence, ".silence=( self : SDL_AudioSpec, silence : int )" },
  { dao_SDL_AudioSpec_GETF_samples, ".samples( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_samples, ".samples=( self : SDL_AudioSpec, samples : int )" },
  { dao_SDL_AudioSpec_GETF_padding, ".padding( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_padding, ".padding=( self : SDL_AudioSpec, padding : int )" },
  { dao_SDL_AudioSpec_GETF_size, ".size( self : SDL_AudioSpec )=>int" },
  { dao_SDL_AudioSpec_SETF_size, ".size=( self : SDL_AudioSpec, size : int )" },
  { dao_SDL_AudioSpec_GETF_userdata, ".userdata( self : SDL_AudioSpec )=>any" },
  { dao_SDL_AudioSpec_SDL_AudioSpec, "SDL_AudioSpec(  )=>SDL_AudioSpec" },
  { NULL, NULL }
};
static void Dao_SDL_AudioSpec_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_AudioSpec_Typer = 
{ "SDL_AudioSpec", NULL, 
  dao_SDL_AudioSpec_Nums,
  dao_SDL_AudioSpec_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_AudioSpec_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_AudioSpec_Typer = & SDL_AudioSpec_Typer;
static void dao_SDL_AudioSpec_GETF_freq( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->freq );
}
static void dao_SDL_AudioSpec_SETF_freq( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->freq = (int) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->format );
}
static void dao_SDL_AudioSpec_SETF_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->format = (Uint16) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_channels( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->channels );
}
static void dao_SDL_AudioSpec_SETF_channels( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->channels = (Uint8) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_silence( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->silence );
}
static void dao_SDL_AudioSpec_SETF_silence( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->silence = (Uint8) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_samples( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->samples );
}
static void dao_SDL_AudioSpec_SETF_samples( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->samples = (Uint16) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_padding( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->padding );
}
static void dao_SDL_AudioSpec_SETF_padding( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->padding = (Uint16) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutInteger( _ctx, (int) self->size );
}
static void dao_SDL_AudioSpec_SETF_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  self->size = (Uint32) _p[1]->v.i;
}
static void dao_SDL_AudioSpec_GETF_userdata( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_AudioSpec *self = (SDL_AudioSpec*)DValue_CastCData(_p[0],dao_SDL_AudioSpec_Typer);
  DaoContext_PutCPointer( _ctx, (void*) self->userdata, 0 );
}
static void dao_SDL_AudioSpec_SDL_AudioSpec( DaoContext *_ctx, DValue *_p[], int _n )
{
	Dao_SDL_AudioSpec *self = Dao_SDL_AudioSpec_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}

/*   */


static DaoNumItem dao_SDL_BlitMap_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_BlitMap_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_BlitMap_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_BlitMap_Typer = 
{ "SDL_BlitMap", NULL, 
  dao_SDL_BlitMap_Nums,
  dao_SDL_BlitMap_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_BlitMap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_BlitMap_Typer = & SDL_BlitMap_Typer;

/*  SDL_cdrom.h */


static void dao_SDL_CD_GETF_id( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_SETF_id( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_GETF_status( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_SETF_status( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_GETF_numtracks( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_SETF_numtracks( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_GETF_cur_track( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_SETF_cur_track( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_GETF_cur_frame( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_SETF_cur_frame( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CD_GETF_track( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_CD_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_CD_SDL_CD( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_CD_Meths[] = 
{
  { dao_SDL_CD_GETF_id, ".id( self : SDL_CD )=>int" },
  { dao_SDL_CD_SETF_id, ".id=( self : SDL_CD, id : int )" },
  { dao_SDL_CD_GETF_status, ".status( self : SDL_CD )=>int" },
  { dao_SDL_CD_SETF_status, ".status=( self : SDL_CD, status : int )" },
  { dao_SDL_CD_GETF_numtracks, ".numtracks( self : SDL_CD )=>int" },
  { dao_SDL_CD_SETF_numtracks, ".numtracks=( self : SDL_CD, numtracks : int )" },
  { dao_SDL_CD_GETF_cur_track, ".cur_track( self : SDL_CD )=>int" },
  { dao_SDL_CD_SETF_cur_track, ".cur_track=( self : SDL_CD, cur_track : int )" },
  { dao_SDL_CD_GETF_cur_frame, ".cur_frame( self : SDL_CD )=>int" },
  { dao_SDL_CD_SETF_cur_frame, ".cur_frame=( self : SDL_CD, cur_frame : int )" },
  { dao_SDL_CD_GETF_track, ".track( self : SDL_CD )=>SDL_CDtrack" },
  { dao_SDL_CD_SDL_CD, "SDL_CD(  )=>SDL_CD" },
  { NULL, NULL }
};
static void Dao_SDL_CD_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_CD_Typer = 
{ "SDL_CD", NULL, 
  dao_SDL_CD_Nums,
  dao_SDL_CD_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_CD_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_CD_Typer = & SDL_CD_Typer;
static void dao_SDL_CD_GETF_id( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  DaoContext_PutInteger( _ctx, (int) self->id );
}
static void dao_SDL_CD_SETF_id( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  self->id = (int) _p[1]->v.i;
}
static void dao_SDL_CD_GETF_status( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  DaoContext_PutInteger( _ctx, (int) self->status );
}
static void dao_SDL_CD_SETF_status( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  self->status = (CDstatus) _p[1]->v.i;
}
static void dao_SDL_CD_GETF_numtracks( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  DaoContext_PutInteger( _ctx, (int) self->numtracks );
}
static void dao_SDL_CD_SETF_numtracks( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  self->numtracks = (int) _p[1]->v.i;
}
static void dao_SDL_CD_GETF_cur_track( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  DaoContext_PutInteger( _ctx, (int) self->cur_track );
}
static void dao_SDL_CD_SETF_cur_track( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  self->cur_track = (int) _p[1]->v.i;
}
static void dao_SDL_CD_GETF_cur_frame( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  DaoContext_PutInteger( _ctx, (int) self->cur_frame );
}
static void dao_SDL_CD_SETF_cur_frame( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  self->cur_frame = (int) _p[1]->v.i;
}
static void dao_SDL_CD_GETF_track( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CD *self = (SDL_CD*)DValue_CastCData(_p[0],dao_SDL_CD_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->track, dao_SDL_CDtrack_Typer );
}
static void dao_SDL_CD_SDL_CD( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_CD *self = Dao_SDL_CD_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_CD_Typer );
}

/*  SDL_cdrom.h */


static void dao_SDL_CDtrack_GETF_id( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_SETF_id( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_GETF_unused( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_SETF_unused( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_GETF_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_SETF_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_GETF_offset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_CDtrack_SETF_offset( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_CDtrack_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_CDtrack_SDL_CDtrack( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_CDtrack_Meths[] = 
{
  { dao_SDL_CDtrack_GETF_id, ".id( self : SDL_CDtrack )=>int" },
  { dao_SDL_CDtrack_SETF_id, ".id=( self : SDL_CDtrack, id : int )" },
  { dao_SDL_CDtrack_GETF_type, ".type( self : SDL_CDtrack )=>int" },
  { dao_SDL_CDtrack_SETF_type, ".type=( self : SDL_CDtrack, type : int )" },
  { dao_SDL_CDtrack_GETF_unused, ".unused( self : SDL_CDtrack )=>int" },
  { dao_SDL_CDtrack_SETF_unused, ".unused=( self : SDL_CDtrack, unused : int )" },
  { dao_SDL_CDtrack_GETF_length, ".length( self : SDL_CDtrack )=>int" },
  { dao_SDL_CDtrack_SETF_length, ".length=( self : SDL_CDtrack, length : int )" },
  { dao_SDL_CDtrack_GETF_offset, ".offset( self : SDL_CDtrack )=>int" },
  { dao_SDL_CDtrack_SETF_offset, ".offset=( self : SDL_CDtrack, offset : int )" },
  { dao_SDL_CDtrack_SDL_CDtrack, "SDL_CDtrack(  )=>SDL_CDtrack" },
  { NULL, NULL }
};
static void Dao_SDL_CDtrack_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_CDtrack_Typer = 
{ "SDL_CDtrack", NULL, 
  dao_SDL_CDtrack_Nums,
  dao_SDL_CDtrack_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_CDtrack_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_CDtrack_Typer = & SDL_CDtrack_Typer;
static void dao_SDL_CDtrack_GETF_id( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  DaoContext_PutInteger( _ctx, (int) self->id );
}
static void dao_SDL_CDtrack_SETF_id( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  self->id = (Uint8) _p[1]->v.i;
}
static void dao_SDL_CDtrack_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_CDtrack_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_CDtrack_GETF_unused( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  DaoContext_PutInteger( _ctx, (int) self->unused );
}
static void dao_SDL_CDtrack_SETF_unused( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  self->unused = (Uint16) _p[1]->v.i;
}
static void dao_SDL_CDtrack_GETF_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  DaoContext_PutInteger( _ctx, (int) self->length );
}
static void dao_SDL_CDtrack_SETF_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  self->length = (Uint32) _p[1]->v.i;
}
static void dao_SDL_CDtrack_GETF_offset( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  DaoContext_PutInteger( _ctx, (int) self->offset );
}
static void dao_SDL_CDtrack_SETF_offset( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_CDtrack *self = (SDL_CDtrack*)DValue_CastCData(_p[0],dao_SDL_CDtrack_Typer);
  self->offset = (Uint32) _p[1]->v.i;
}
static void dao_SDL_CDtrack_SDL_CDtrack( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_CDtrack *self = Dao_SDL_CDtrack_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_CDtrack_Typer );
}

/*  SDL_video.h */


static void dao_SDL_Color_GETF_r( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_SETF_r( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_GETF_g( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_SETF_g( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_GETF_b( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_SETF_b( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_GETF_unused( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Color_SETF_unused( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Color_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Color_SDL_Color( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Color_Meths[] = 
{
  { dao_SDL_Color_GETF_r, ".r( self : SDL_Color )=>int" },
  { dao_SDL_Color_SETF_r, ".r=( self : SDL_Color, r : int )" },
  { dao_SDL_Color_GETF_g, ".g( self : SDL_Color )=>int" },
  { dao_SDL_Color_SETF_g, ".g=( self : SDL_Color, g : int )" },
  { dao_SDL_Color_GETF_b, ".b( self : SDL_Color )=>int" },
  { dao_SDL_Color_SETF_b, ".b=( self : SDL_Color, b : int )" },
  { dao_SDL_Color_GETF_unused, ".unused( self : SDL_Color )=>int" },
  { dao_SDL_Color_SETF_unused, ".unused=( self : SDL_Color, unused : int )" },
  { dao_SDL_Color_SDL_Color, "SDL_Color(  )=>SDL_Color" },
  { NULL, NULL }
};
static void Dao_SDL_Color_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Color_Typer = 
{ "SDL_Color", NULL, 
  dao_SDL_Color_Nums,
  dao_SDL_Color_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Color_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Color_Typer = & SDL_Color_Typer;
static void dao_SDL_Color_GETF_r( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  DaoContext_PutInteger( _ctx, (int) self->r );
}
static void dao_SDL_Color_SETF_r( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  self->r = (Uint8) _p[1]->v.i;
}
static void dao_SDL_Color_GETF_g( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  DaoContext_PutInteger( _ctx, (int) self->g );
}
static void dao_SDL_Color_SETF_g( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  self->g = (Uint8) _p[1]->v.i;
}
static void dao_SDL_Color_GETF_b( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  DaoContext_PutInteger( _ctx, (int) self->b );
}
static void dao_SDL_Color_SETF_b( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  self->b = (Uint8) _p[1]->v.i;
}
static void dao_SDL_Color_GETF_unused( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  DaoContext_PutInteger( _ctx, (int) self->unused );
}
static void dao_SDL_Color_SETF_unused( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Color *self = (SDL_Color*)DValue_CastCData(_p[0],dao_SDL_Color_Typer);
  self->unused = (Uint8) _p[1]->v.i;
}
static void dao_SDL_Color_SDL_Color( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Color *self = Dao_SDL_Color_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Color_Typer );
}

/*  SDL_mouse.h */


static void dao_SDL_Cursor_GETF_area( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_GETF_hot_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_SETF_hot_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_GETF_hot_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_SETF_hot_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_GETF_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_GETF_mask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Cursor_GETF_wm_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Cursor_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Cursor_SDL_Cursor( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Cursor_Meths[] = 
{
  { dao_SDL_Cursor_GETF_area, ".area( self : SDL_Cursor )=>SDL_Rect" },
  { dao_SDL_Cursor_GETF_hot_x, ".hot_x( self : SDL_Cursor )=>int" },
  { dao_SDL_Cursor_SETF_hot_x, ".hot_x=( self : SDL_Cursor, hot_x : int )" },
  { dao_SDL_Cursor_GETF_hot_y, ".hot_y( self : SDL_Cursor )=>int" },
  { dao_SDL_Cursor_SETF_hot_y, ".hot_y=( self : SDL_Cursor, hot_y : int )" },
  { dao_SDL_Cursor_GETF_data, ".data( self : SDL_Cursor )=>int" },
  { dao_SDL_Cursor_GETF_mask, ".mask( self : SDL_Cursor )=>int" },
  { dao_SDL_Cursor_GETF_wm_cursor, ".wm_cursor( self : SDL_Cursor )=>WMcursor" },
  { dao_SDL_Cursor_SDL_Cursor, "SDL_Cursor(  )=>SDL_Cursor" },
  { NULL, NULL }
};
static void Dao_SDL_Cursor_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Cursor_Typer = 
{ "SDL_Cursor", NULL, 
  dao_SDL_Cursor_Nums,
  dao_SDL_Cursor_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Cursor_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Cursor_Typer = & SDL_Cursor_Typer;
static void dao_SDL_Cursor_GETF_area( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->area, dao_SDL_Rect_Typer );
}
static void dao_SDL_Cursor_GETF_hot_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  DaoContext_PutInteger( _ctx, (int) self->hot_x );
}
static void dao_SDL_Cursor_SETF_hot_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  self->hot_x = (Sint16) _p[1]->v.i;
}
static void dao_SDL_Cursor_GETF_hot_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  DaoContext_PutInteger( _ctx, (int) self->hot_y );
}
static void dao_SDL_Cursor_SETF_hot_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  self->hot_y = (Sint16) _p[1]->v.i;
}
static void dao_SDL_Cursor_GETF_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  DaoContext_PutArrayInteger( _ctx, (int*) self->data, 0 );
}
static void dao_SDL_Cursor_GETF_mask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  DaoContext_PutArrayInteger( _ctx, (int*) self->mask, 0 );
}
static void dao_SDL_Cursor_GETF_wm_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Cursor *self = (SDL_Cursor*)DValue_CastCData(_p[0],dao_SDL_Cursor_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->wm_cursor, dao_WMcursor_Typer );
}
static void dao_SDL_Cursor_SDL_Cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Cursor *self = Dao_SDL_Cursor_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Cursor_Typer );
}

/*  SDL_events.h */


static void dao_SDL_Event_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_active( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_key( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_motion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_jaxis( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_jball( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_jhat( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_jbutton( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_expose( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_quit( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_user( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Event_GETF_syswm( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Event_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Event_SDL_Event( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Event_Meths[] = 
{
  { dao_SDL_Event_GETF_type, ".type( self : SDL_Event )=>int" },
  { dao_SDL_Event_SETF_type, ".type=( self : SDL_Event, type : int )" },
  { dao_SDL_Event_GETF_active, ".active( self : SDL_Event )=>SDL_ActiveEvent" },
  { dao_SDL_Event_GETF_key, ".key( self : SDL_Event )=>SDL_KeyboardEvent" },
  { dao_SDL_Event_GETF_motion, ".motion( self : SDL_Event )=>SDL_MouseMotionEvent" },
  { dao_SDL_Event_GETF_button, ".button( self : SDL_Event )=>SDL_MouseButtonEvent" },
  { dao_SDL_Event_GETF_jaxis, ".jaxis( self : SDL_Event )=>SDL_JoyAxisEvent" },
  { dao_SDL_Event_GETF_jball, ".jball( self : SDL_Event )=>SDL_JoyBallEvent" },
  { dao_SDL_Event_GETF_jhat, ".jhat( self : SDL_Event )=>SDL_JoyHatEvent" },
  { dao_SDL_Event_GETF_jbutton, ".jbutton( self : SDL_Event )=>SDL_JoyButtonEvent" },
  { dao_SDL_Event_GETF_resize, ".resize( self : SDL_Event )=>SDL_ResizeEvent" },
  { dao_SDL_Event_GETF_expose, ".expose( self : SDL_Event )=>SDL_ExposeEvent" },
  { dao_SDL_Event_GETF_quit, ".quit( self : SDL_Event )=>SDL_QuitEvent" },
  { dao_SDL_Event_GETF_user, ".user( self : SDL_Event )=>SDL_UserEvent" },
  { dao_SDL_Event_GETF_syswm, ".syswm( self : SDL_Event )=>SDL_SysWMEvent" },
  { dao_SDL_Event_SDL_Event, "SDL_Event(  )=>SDL_Event" },
  { NULL, NULL }
};
static void Dao_SDL_Event_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Event_Typer = 
{ "SDL_Event", NULL, 
  dao_SDL_Event_Nums,
  dao_SDL_Event_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Event_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Event_Typer = & SDL_Event_Typer;
static void dao_SDL_Event_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_Event_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_Event_GETF_active( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->active, dao_SDL_ActiveEvent_Typer );
}
static void dao_SDL_Event_GETF_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->key, dao_SDL_KeyboardEvent_Typer );
}
static void dao_SDL_Event_GETF_motion( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->motion, dao_SDL_MouseMotionEvent_Typer );
}
static void dao_SDL_Event_GETF_button( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->button, dao_SDL_MouseButtonEvent_Typer );
}
static void dao_SDL_Event_GETF_jaxis( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->jaxis, dao_SDL_JoyAxisEvent_Typer );
}
static void dao_SDL_Event_GETF_jball( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->jball, dao_SDL_JoyBallEvent_Typer );
}
static void dao_SDL_Event_GETF_jhat( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->jhat, dao_SDL_JoyHatEvent_Typer );
}
static void dao_SDL_Event_GETF_jbutton( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->jbutton, dao_SDL_JoyButtonEvent_Typer );
}
static void dao_SDL_Event_GETF_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->resize, dao_SDL_ResizeEvent_Typer );
}
static void dao_SDL_Event_GETF_expose( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->expose, dao_SDL_ExposeEvent_Typer );
}
static void dao_SDL_Event_GETF_quit( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->quit, dao_SDL_QuitEvent_Typer );
}
static void dao_SDL_Event_GETF_user( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->user, dao_SDL_UserEvent_Typer );
}
static void dao_SDL_Event_GETF_syswm( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Event *self = (SDL_Event*)DValue_CastCData(_p[0],dao_SDL_Event_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->syswm, dao_SDL_SysWMEvent_Typer );
}
static void dao_SDL_Event_SDL_Event( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Event *self = Dao_SDL_Event_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Event_Typer );
}

/*  SDL_events.h */


static void dao_SDL_ExposeEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ExposeEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_ExposeEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_ExposeEvent_SDL_ExposeEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_ExposeEvent_Meths[] = 
{
  { dao_SDL_ExposeEvent_GETF_type, ".type( self : SDL_ExposeEvent )=>int" },
  { dao_SDL_ExposeEvent_SETF_type, ".type=( self : SDL_ExposeEvent, type : int )" },
  { dao_SDL_ExposeEvent_SDL_ExposeEvent, "SDL_ExposeEvent(  )=>SDL_ExposeEvent" },
  { NULL, NULL }
};
static void Dao_SDL_ExposeEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_ExposeEvent_Typer = 
{ "SDL_ExposeEvent", NULL, 
  dao_SDL_ExposeEvent_Nums,
  dao_SDL_ExposeEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_ExposeEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_ExposeEvent_Typer = & SDL_ExposeEvent_Typer;
static void dao_SDL_ExposeEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ExposeEvent *self = (SDL_ExposeEvent*)DValue_CastCData(_p[0],dao_SDL_ExposeEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_ExposeEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ExposeEvent *self = (SDL_ExposeEvent*)DValue_CastCData(_p[0],dao_SDL_ExposeEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_ExposeEvent_SDL_ExposeEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_ExposeEvent *self = Dao_SDL_ExposeEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_ExposeEvent_Typer );
}

/*  SDL_events.h */


static void dao_SDL_JoyAxisEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_GETF_axis( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_SETF_axis( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_GETF_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyAxisEvent_SETF_value( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_JoyAxisEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_JoyAxisEvent_SDL_JoyAxisEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_JoyAxisEvent_Meths[] = 
{
  { dao_SDL_JoyAxisEvent_GETF_type, ".type( self : SDL_JoyAxisEvent )=>int" },
  { dao_SDL_JoyAxisEvent_SETF_type, ".type=( self : SDL_JoyAxisEvent, type : int )" },
  { dao_SDL_JoyAxisEvent_GETF_which, ".which( self : SDL_JoyAxisEvent )=>int" },
  { dao_SDL_JoyAxisEvent_SETF_which, ".which=( self : SDL_JoyAxisEvent, which : int )" },
  { dao_SDL_JoyAxisEvent_GETF_axis, ".axis( self : SDL_JoyAxisEvent )=>int" },
  { dao_SDL_JoyAxisEvent_SETF_axis, ".axis=( self : SDL_JoyAxisEvent, axis : int )" },
  { dao_SDL_JoyAxisEvent_GETF_value, ".value( self : SDL_JoyAxisEvent )=>int" },
  { dao_SDL_JoyAxisEvent_SETF_value, ".value=( self : SDL_JoyAxisEvent, value : int )" },
  { dao_SDL_JoyAxisEvent_SDL_JoyAxisEvent, "SDL_JoyAxisEvent(  )=>SDL_JoyAxisEvent" },
  { NULL, NULL }
};
static void Dao_SDL_JoyAxisEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_JoyAxisEvent_Typer = 
{ "SDL_JoyAxisEvent", NULL, 
  dao_SDL_JoyAxisEvent_Nums,
  dao_SDL_JoyAxisEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_JoyAxisEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_JoyAxisEvent_Typer = & SDL_JoyAxisEvent_Typer;
static void dao_SDL_JoyAxisEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_JoyAxisEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyAxisEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_JoyAxisEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyAxisEvent_GETF_axis( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->axis );
}
static void dao_SDL_JoyAxisEvent_SETF_axis( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  self->axis = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyAxisEvent_GETF_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->value );
}
static void dao_SDL_JoyAxisEvent_SETF_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyAxisEvent *self = (SDL_JoyAxisEvent*)DValue_CastCData(_p[0],dao_SDL_JoyAxisEvent_Typer);
  self->value = (Sint16) _p[1]->v.i;
}
static void dao_SDL_JoyAxisEvent_SDL_JoyAxisEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_JoyAxisEvent *self = Dao_SDL_JoyAxisEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_JoyAxisEvent_Typer );
}

/*  SDL_events.h */


static void dao_SDL_JoyBallEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_GETF_ball( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_SETF_ball( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_GETF_xrel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_SETF_xrel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_GETF_yrel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyBallEvent_SETF_yrel( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_JoyBallEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_JoyBallEvent_SDL_JoyBallEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_JoyBallEvent_Meths[] = 
{
  { dao_SDL_JoyBallEvent_GETF_type, ".type( self : SDL_JoyBallEvent )=>int" },
  { dao_SDL_JoyBallEvent_SETF_type, ".type=( self : SDL_JoyBallEvent, type : int )" },
  { dao_SDL_JoyBallEvent_GETF_which, ".which( self : SDL_JoyBallEvent )=>int" },
  { dao_SDL_JoyBallEvent_SETF_which, ".which=( self : SDL_JoyBallEvent, which : int )" },
  { dao_SDL_JoyBallEvent_GETF_ball, ".ball( self : SDL_JoyBallEvent )=>int" },
  { dao_SDL_JoyBallEvent_SETF_ball, ".ball=( self : SDL_JoyBallEvent, ball : int )" },
  { dao_SDL_JoyBallEvent_GETF_xrel, ".xrel( self : SDL_JoyBallEvent )=>int" },
  { dao_SDL_JoyBallEvent_SETF_xrel, ".xrel=( self : SDL_JoyBallEvent, xrel : int )" },
  { dao_SDL_JoyBallEvent_GETF_yrel, ".yrel( self : SDL_JoyBallEvent )=>int" },
  { dao_SDL_JoyBallEvent_SETF_yrel, ".yrel=( self : SDL_JoyBallEvent, yrel : int )" },
  { dao_SDL_JoyBallEvent_SDL_JoyBallEvent, "SDL_JoyBallEvent(  )=>SDL_JoyBallEvent" },
  { NULL, NULL }
};
static void Dao_SDL_JoyBallEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_JoyBallEvent_Typer = 
{ "SDL_JoyBallEvent", NULL, 
  dao_SDL_JoyBallEvent_Nums,
  dao_SDL_JoyBallEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_JoyBallEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_JoyBallEvent_Typer = & SDL_JoyBallEvent_Typer;
static void dao_SDL_JoyBallEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_JoyBallEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyBallEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_JoyBallEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyBallEvent_GETF_ball( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->ball );
}
static void dao_SDL_JoyBallEvent_SETF_ball( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  self->ball = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyBallEvent_GETF_xrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->xrel );
}
static void dao_SDL_JoyBallEvent_SETF_xrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  self->xrel = (Sint16) _p[1]->v.i;
}
static void dao_SDL_JoyBallEvent_GETF_yrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->yrel );
}
static void dao_SDL_JoyBallEvent_SETF_yrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyBallEvent *self = (SDL_JoyBallEvent*)DValue_CastCData(_p[0],dao_SDL_JoyBallEvent_Typer);
  self->yrel = (Sint16) _p[1]->v.i;
}
static void dao_SDL_JoyBallEvent_SDL_JoyBallEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_JoyBallEvent *self = Dao_SDL_JoyBallEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_JoyBallEvent_Typer );
}

/*  SDL_events.h */


static void dao_SDL_JoyButtonEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_GETF_button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_SETF_button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyButtonEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_JoyButtonEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_JoyButtonEvent_SDL_JoyButtonEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_JoyButtonEvent_Meths[] = 
{
  { dao_SDL_JoyButtonEvent_GETF_type, ".type( self : SDL_JoyButtonEvent )=>int" },
  { dao_SDL_JoyButtonEvent_SETF_type, ".type=( self : SDL_JoyButtonEvent, type : int )" },
  { dao_SDL_JoyButtonEvent_GETF_which, ".which( self : SDL_JoyButtonEvent )=>int" },
  { dao_SDL_JoyButtonEvent_SETF_which, ".which=( self : SDL_JoyButtonEvent, which : int )" },
  { dao_SDL_JoyButtonEvent_GETF_button, ".button( self : SDL_JoyButtonEvent )=>int" },
  { dao_SDL_JoyButtonEvent_SETF_button, ".button=( self : SDL_JoyButtonEvent, button : int )" },
  { dao_SDL_JoyButtonEvent_GETF_state, ".state( self : SDL_JoyButtonEvent )=>int" },
  { dao_SDL_JoyButtonEvent_SETF_state, ".state=( self : SDL_JoyButtonEvent, state : int )" },
  { dao_SDL_JoyButtonEvent_SDL_JoyButtonEvent, "SDL_JoyButtonEvent(  )=>SDL_JoyButtonEvent" },
  { NULL, NULL }
};
static void Dao_SDL_JoyButtonEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_JoyButtonEvent_Typer = 
{ "SDL_JoyButtonEvent", NULL, 
  dao_SDL_JoyButtonEvent_Nums,
  dao_SDL_JoyButtonEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_JoyButtonEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_JoyButtonEvent_Typer = & SDL_JoyButtonEvent_Typer;
static void dao_SDL_JoyButtonEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_JoyButtonEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyButtonEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_JoyButtonEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyButtonEvent_GETF_button( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->button );
}
static void dao_SDL_JoyButtonEvent_SETF_button( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  self->button = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyButtonEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->state );
}
static void dao_SDL_JoyButtonEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyButtonEvent *self = (SDL_JoyButtonEvent*)DValue_CastCData(_p[0],dao_SDL_JoyButtonEvent_Typer);
  self->state = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyButtonEvent_SDL_JoyButtonEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_JoyButtonEvent *self = Dao_SDL_JoyButtonEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_JoyButtonEvent_Typer );
}

/*  SDL_events.h */


static void dao_SDL_JoyHatEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_GETF_hat( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_SETF_hat( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_GETF_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_JoyHatEvent_SETF_value( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_JoyHatEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_JoyHatEvent_SDL_JoyHatEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_JoyHatEvent_Meths[] = 
{
  { dao_SDL_JoyHatEvent_GETF_type, ".type( self : SDL_JoyHatEvent )=>int" },
  { dao_SDL_JoyHatEvent_SETF_type, ".type=( self : SDL_JoyHatEvent, type : int )" },
  { dao_SDL_JoyHatEvent_GETF_which, ".which( self : SDL_JoyHatEvent )=>int" },
  { dao_SDL_JoyHatEvent_SETF_which, ".which=( self : SDL_JoyHatEvent, which : int )" },
  { dao_SDL_JoyHatEvent_GETF_hat, ".hat( self : SDL_JoyHatEvent )=>int" },
  { dao_SDL_JoyHatEvent_SETF_hat, ".hat=( self : SDL_JoyHatEvent, hat : int )" },
  { dao_SDL_JoyHatEvent_GETF_value, ".value( self : SDL_JoyHatEvent )=>int" },
  { dao_SDL_JoyHatEvent_SETF_value, ".value=( self : SDL_JoyHatEvent, value : int )" },
  { dao_SDL_JoyHatEvent_SDL_JoyHatEvent, "SDL_JoyHatEvent(  )=>SDL_JoyHatEvent" },
  { NULL, NULL }
};
static void Dao_SDL_JoyHatEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_JoyHatEvent_Typer = 
{ "SDL_JoyHatEvent", NULL, 
  dao_SDL_JoyHatEvent_Nums,
  dao_SDL_JoyHatEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_JoyHatEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_JoyHatEvent_Typer = & SDL_JoyHatEvent_Typer;
static void dao_SDL_JoyHatEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_JoyHatEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyHatEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_JoyHatEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyHatEvent_GETF_hat( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->hat );
}
static void dao_SDL_JoyHatEvent_SETF_hat( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  self->hat = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyHatEvent_GETF_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->value );
}
static void dao_SDL_JoyHatEvent_SETF_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_JoyHatEvent *self = (SDL_JoyHatEvent*)DValue_CastCData(_p[0],dao_SDL_JoyHatEvent_Typer);
  self->value = (Uint8) _p[1]->v.i;
}
static void dao_SDL_JoyHatEvent_SDL_JoyHatEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_JoyHatEvent *self = Dao_SDL_JoyHatEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_JoyHatEvent_Typer );
}

/*  SDL_joystick.h */


static DaoNumItem dao_SDL_Joystick_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_Joystick_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_Joystick_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Joystick_Typer = 
{ "SDL_Joystick", NULL, 
  dao_SDL_Joystick_Nums,
  dao_SDL_Joystick_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Joystick_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Joystick_Typer = & SDL_Joystick_Typer;

/*  SDL_events.h */


static void dao_SDL_KeyboardEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_KeyboardEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_KeyboardEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_KeyboardEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_KeyboardEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_KeyboardEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_KeyboardEvent_GETF_keysym( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_KeyboardEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_KeyboardEvent_SDL_KeyboardEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_KeyboardEvent_Meths[] = 
{
  { dao_SDL_KeyboardEvent_GETF_type, ".type( self : SDL_KeyboardEvent )=>int" },
  { dao_SDL_KeyboardEvent_SETF_type, ".type=( self : SDL_KeyboardEvent, type : int )" },
  { dao_SDL_KeyboardEvent_GETF_which, ".which( self : SDL_KeyboardEvent )=>int" },
  { dao_SDL_KeyboardEvent_SETF_which, ".which=( self : SDL_KeyboardEvent, which : int )" },
  { dao_SDL_KeyboardEvent_GETF_state, ".state( self : SDL_KeyboardEvent )=>int" },
  { dao_SDL_KeyboardEvent_SETF_state, ".state=( self : SDL_KeyboardEvent, state : int )" },
  { dao_SDL_KeyboardEvent_GETF_keysym, ".keysym( self : SDL_KeyboardEvent )=>SDL_keysym" },
  { dao_SDL_KeyboardEvent_SDL_KeyboardEvent, "SDL_KeyboardEvent(  )=>SDL_KeyboardEvent" },
  { NULL, NULL }
};
static void Dao_SDL_KeyboardEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_KeyboardEvent_Typer = 
{ "SDL_KeyboardEvent", NULL, 
  dao_SDL_KeyboardEvent_Nums,
  dao_SDL_KeyboardEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_KeyboardEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_KeyboardEvent_Typer = & SDL_KeyboardEvent_Typer;
static void dao_SDL_KeyboardEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_KeyboardEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_KeyboardEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_KeyboardEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_KeyboardEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->state );
}
static void dao_SDL_KeyboardEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  self->state = (Uint8) _p[1]->v.i;
}
static void dao_SDL_KeyboardEvent_GETF_keysym( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_KeyboardEvent *self = (SDL_KeyboardEvent*)DValue_CastCData(_p[0],dao_SDL_KeyboardEvent_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->keysym, dao_SDL_keysym_Typer );
}
static void dao_SDL_KeyboardEvent_SDL_KeyboardEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_KeyboardEvent *self = Dao_SDL_KeyboardEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_KeyboardEvent_Typer );
}

/*  SDL_events.h */


static void dao_SDL_MouseButtonEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_GETF_button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_SETF_button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_GETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_SETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_GETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseButtonEvent_SETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_MouseButtonEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_MouseButtonEvent_SDL_MouseButtonEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_MouseButtonEvent_Meths[] = 
{
  { dao_SDL_MouseButtonEvent_GETF_type, ".type( self : SDL_MouseButtonEvent )=>int" },
  { dao_SDL_MouseButtonEvent_SETF_type, ".type=( self : SDL_MouseButtonEvent, type : int )" },
  { dao_SDL_MouseButtonEvent_GETF_which, ".which( self : SDL_MouseButtonEvent )=>int" },
  { dao_SDL_MouseButtonEvent_SETF_which, ".which=( self : SDL_MouseButtonEvent, which : int )" },
  { dao_SDL_MouseButtonEvent_GETF_button, ".button( self : SDL_MouseButtonEvent )=>int" },
  { dao_SDL_MouseButtonEvent_SETF_button, ".button=( self : SDL_MouseButtonEvent, button : int )" },
  { dao_SDL_MouseButtonEvent_GETF_state, ".state( self : SDL_MouseButtonEvent )=>int" },
  { dao_SDL_MouseButtonEvent_SETF_state, ".state=( self : SDL_MouseButtonEvent, state : int )" },
  { dao_SDL_MouseButtonEvent_GETF_x, ".x( self : SDL_MouseButtonEvent )=>int" },
  { dao_SDL_MouseButtonEvent_SETF_x, ".x=( self : SDL_MouseButtonEvent, x : int )" },
  { dao_SDL_MouseButtonEvent_GETF_y, ".y( self : SDL_MouseButtonEvent )=>int" },
  { dao_SDL_MouseButtonEvent_SETF_y, ".y=( self : SDL_MouseButtonEvent, y : int )" },
  { dao_SDL_MouseButtonEvent_SDL_MouseButtonEvent, "SDL_MouseButtonEvent(  )=>SDL_MouseButtonEvent" },
  { NULL, NULL }
};
static void Dao_SDL_MouseButtonEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_MouseButtonEvent_Typer = 
{ "SDL_MouseButtonEvent", NULL, 
  dao_SDL_MouseButtonEvent_Nums,
  dao_SDL_MouseButtonEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_MouseButtonEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_MouseButtonEvent_Typer = & SDL_MouseButtonEvent_Typer;
static void dao_SDL_MouseButtonEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_MouseButtonEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseButtonEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_MouseButtonEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseButtonEvent_GETF_button( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->button );
}
static void dao_SDL_MouseButtonEvent_SETF_button( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  self->button = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseButtonEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->state );
}
static void dao_SDL_MouseButtonEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  self->state = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseButtonEvent_GETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->x );
}
static void dao_SDL_MouseButtonEvent_SETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  self->x = (Uint16) _p[1]->v.i;
}
static void dao_SDL_MouseButtonEvent_GETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->y );
}
static void dao_SDL_MouseButtonEvent_SETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseButtonEvent *self = (SDL_MouseButtonEvent*)DValue_CastCData(_p[0],dao_SDL_MouseButtonEvent_Typer);
  self->y = (Uint16) _p[1]->v.i;
}
static void dao_SDL_MouseButtonEvent_SDL_MouseButtonEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_MouseButtonEvent *self = Dao_SDL_MouseButtonEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_MouseButtonEvent_Typer );
}

/*  SDL_events.h */


static void dao_SDL_MouseMotionEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_GETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_GETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_GETF_xrel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_xrel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_GETF_yrel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_MouseMotionEvent_SETF_yrel( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_MouseMotionEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_MouseMotionEvent_SDL_MouseMotionEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_MouseMotionEvent_Meths[] = 
{
  { dao_SDL_MouseMotionEvent_GETF_type, ".type( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_type, ".type=( self : SDL_MouseMotionEvent, type : int )" },
  { dao_SDL_MouseMotionEvent_GETF_which, ".which( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_which, ".which=( self : SDL_MouseMotionEvent, which : int )" },
  { dao_SDL_MouseMotionEvent_GETF_state, ".state( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_state, ".state=( self : SDL_MouseMotionEvent, state : int )" },
  { dao_SDL_MouseMotionEvent_GETF_x, ".x( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_x, ".x=( self : SDL_MouseMotionEvent, x : int )" },
  { dao_SDL_MouseMotionEvent_GETF_y, ".y( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_y, ".y=( self : SDL_MouseMotionEvent, y : int )" },
  { dao_SDL_MouseMotionEvent_GETF_xrel, ".xrel( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_xrel, ".xrel=( self : SDL_MouseMotionEvent, xrel : int )" },
  { dao_SDL_MouseMotionEvent_GETF_yrel, ".yrel( self : SDL_MouseMotionEvent )=>int" },
  { dao_SDL_MouseMotionEvent_SETF_yrel, ".yrel=( self : SDL_MouseMotionEvent, yrel : int )" },
  { dao_SDL_MouseMotionEvent_SDL_MouseMotionEvent, "SDL_MouseMotionEvent(  )=>SDL_MouseMotionEvent" },
  { NULL, NULL }
};
static void Dao_SDL_MouseMotionEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_MouseMotionEvent_Typer = 
{ "SDL_MouseMotionEvent", NULL, 
  dao_SDL_MouseMotionEvent_Nums,
  dao_SDL_MouseMotionEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_MouseMotionEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_MouseMotionEvent_Typer = & SDL_MouseMotionEvent_Typer;
static void dao_SDL_MouseMotionEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_MouseMotionEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_GETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->which );
}
static void dao_SDL_MouseMotionEvent_SETF_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->which = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_GETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->state );
}
static void dao_SDL_MouseMotionEvent_SETF_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->state = (Uint8) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_GETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->x );
}
static void dao_SDL_MouseMotionEvent_SETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->x = (Uint16) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_GETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->y );
}
static void dao_SDL_MouseMotionEvent_SETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->y = (Uint16) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_GETF_xrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->xrel );
}
static void dao_SDL_MouseMotionEvent_SETF_xrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->xrel = (Sint16) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_GETF_yrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->yrel );
}
static void dao_SDL_MouseMotionEvent_SETF_yrel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_MouseMotionEvent *self = (SDL_MouseMotionEvent*)DValue_CastCData(_p[0],dao_SDL_MouseMotionEvent_Typer);
  self->yrel = (Sint16) _p[1]->v.i;
}
static void dao_SDL_MouseMotionEvent_SDL_MouseMotionEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_MouseMotionEvent *self = Dao_SDL_MouseMotionEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_MouseMotionEvent_Typer );
}

/*  SDL_video.h */


static void dao_SDL_Overlay_GETF_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_SETF_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_GETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_SETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_GETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_SETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_GETF_planes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_SETF_planes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Overlay_GETF_pitches( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Overlay_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Overlay_SDL_Overlay( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Overlay_Meths[] = 
{
  { dao_SDL_Overlay_GETF_format, ".format( self : SDL_Overlay )=>int" },
  { dao_SDL_Overlay_SETF_format, ".format=( self : SDL_Overlay, format : int )" },
  { dao_SDL_Overlay_GETF_w, ".w( self : SDL_Overlay )=>int" },
  { dao_SDL_Overlay_SETF_w, ".w=( self : SDL_Overlay, w : int )" },
  { dao_SDL_Overlay_GETF_h, ".h( self : SDL_Overlay )=>int" },
  { dao_SDL_Overlay_SETF_h, ".h=( self : SDL_Overlay, h : int )" },
  { dao_SDL_Overlay_GETF_planes, ".planes( self : SDL_Overlay )=>int" },
  { dao_SDL_Overlay_SETF_planes, ".planes=( self : SDL_Overlay, planes : int )" },
  { dao_SDL_Overlay_GETF_pitches, ".pitches( self : SDL_Overlay )=>int" },
  { dao_SDL_Overlay_SDL_Overlay, "SDL_Overlay(  )=>SDL_Overlay" },
  { NULL, NULL }
};
static void Dao_SDL_Overlay_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Overlay_Typer = 
{ "SDL_Overlay", NULL, 
  dao_SDL_Overlay_Nums,
  dao_SDL_Overlay_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Overlay_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Overlay_Typer = & SDL_Overlay_Typer;
static void dao_SDL_Overlay_GETF_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  DaoContext_PutInteger( _ctx, (int) self->format );
}
static void dao_SDL_Overlay_SETF_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  self->format = (Uint32) _p[1]->v.i;
}
static void dao_SDL_Overlay_GETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  DaoContext_PutInteger( _ctx, (int) self->w );
}
static void dao_SDL_Overlay_SETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  self->w = (int) _p[1]->v.i;
}
static void dao_SDL_Overlay_GETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  DaoContext_PutInteger( _ctx, (int) self->h );
}
static void dao_SDL_Overlay_SETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  self->h = (int) _p[1]->v.i;
}
static void dao_SDL_Overlay_GETF_planes( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  DaoContext_PutInteger( _ctx, (int) self->planes );
}
static void dao_SDL_Overlay_SETF_planes( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  self->planes = (int) _p[1]->v.i;
}
static void dao_SDL_Overlay_GETF_pitches( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Overlay *self = (SDL_Overlay*)DValue_CastCData(_p[0],dao_SDL_Overlay_Typer);
  DaoContext_PutArrayInteger( _ctx, (int*) self->pitches, 0 );
}
static void dao_SDL_Overlay_SDL_Overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Overlay *self = Dao_SDL_Overlay_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Overlay_Typer );
}

/*  SDL_video.h */


static void dao_SDL_Palette_GETF_ncolors( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Palette_SETF_ncolors( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Palette_GETF_colors( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Palette_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Palette_SDL_Palette( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Palette_Meths[] = 
{
  { dao_SDL_Palette_GETF_ncolors, ".ncolors( self : SDL_Palette )=>int" },
  { dao_SDL_Palette_SETF_ncolors, ".ncolors=( self : SDL_Palette, ncolors : int )" },
  { dao_SDL_Palette_GETF_colors, ".colors( self : SDL_Palette )=>SDL_Color" },
  { dao_SDL_Palette_SDL_Palette, "SDL_Palette(  )=>SDL_Palette" },
  { NULL, NULL }
};
static void Dao_SDL_Palette_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Palette_Typer = 
{ "SDL_Palette", NULL, 
  dao_SDL_Palette_Nums,
  dao_SDL_Palette_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Palette_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Palette_Typer = & SDL_Palette_Typer;
static void dao_SDL_Palette_GETF_ncolors( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Palette *self = (SDL_Palette*)DValue_CastCData(_p[0],dao_SDL_Palette_Typer);
  DaoContext_PutInteger( _ctx, (int) self->ncolors );
}
static void dao_SDL_Palette_SETF_ncolors( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Palette *self = (SDL_Palette*)DValue_CastCData(_p[0],dao_SDL_Palette_Typer);
  self->ncolors = (int) _p[1]->v.i;
}
static void dao_SDL_Palette_GETF_colors( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Palette *self = (SDL_Palette*)DValue_CastCData(_p[0],dao_SDL_Palette_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->colors, dao_SDL_Color_Typer );
}
static void dao_SDL_Palette_SDL_Palette( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Palette *self = Dao_SDL_Palette_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Palette_Typer );
}

/*  SDL_video.h */


static void dao_SDL_PixelFormat_GETF_palette( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_BitsPerPixel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_BitsPerPixel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_BytesPerPixel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_BytesPerPixel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Rloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Rloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Gloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Gloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Bloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Bloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Aloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Aloss( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Rshift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Rshift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Gshift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Gshift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Bshift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Bshift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Ashift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Ashift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Rmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Rmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Gmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Gmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Bmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Bmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_Amask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_Amask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_colorkey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_colorkey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_GETF_alpha( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_PixelFormat_SETF_alpha( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_PixelFormat_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_PixelFormat_SDL_PixelFormat( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_PixelFormat_Meths[] = 
{
  { dao_SDL_PixelFormat_GETF_palette, ".palette( self : SDL_PixelFormat )=>SDL_Palette" },
  { dao_SDL_PixelFormat_GETF_BitsPerPixel, ".BitsPerPixel( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_BitsPerPixel, ".BitsPerPixel=( self : SDL_PixelFormat, BitsPerPixel : int )" },
  { dao_SDL_PixelFormat_GETF_BytesPerPixel, ".BytesPerPixel( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_BytesPerPixel, ".BytesPerPixel=( self : SDL_PixelFormat, BytesPerPixel : int )" },
  { dao_SDL_PixelFormat_GETF_Rloss, ".Rloss( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Rloss, ".Rloss=( self : SDL_PixelFormat, Rloss : int )" },
  { dao_SDL_PixelFormat_GETF_Gloss, ".Gloss( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Gloss, ".Gloss=( self : SDL_PixelFormat, Gloss : int )" },
  { dao_SDL_PixelFormat_GETF_Bloss, ".Bloss( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Bloss, ".Bloss=( self : SDL_PixelFormat, Bloss : int )" },
  { dao_SDL_PixelFormat_GETF_Aloss, ".Aloss( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Aloss, ".Aloss=( self : SDL_PixelFormat, Aloss : int )" },
  { dao_SDL_PixelFormat_GETF_Rshift, ".Rshift( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Rshift, ".Rshift=( self : SDL_PixelFormat, Rshift : int )" },
  { dao_SDL_PixelFormat_GETF_Gshift, ".Gshift( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Gshift, ".Gshift=( self : SDL_PixelFormat, Gshift : int )" },
  { dao_SDL_PixelFormat_GETF_Bshift, ".Bshift( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Bshift, ".Bshift=( self : SDL_PixelFormat, Bshift : int )" },
  { dao_SDL_PixelFormat_GETF_Ashift, ".Ashift( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Ashift, ".Ashift=( self : SDL_PixelFormat, Ashift : int )" },
  { dao_SDL_PixelFormat_GETF_Rmask, ".Rmask( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Rmask, ".Rmask=( self : SDL_PixelFormat, Rmask : int )" },
  { dao_SDL_PixelFormat_GETF_Gmask, ".Gmask( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Gmask, ".Gmask=( self : SDL_PixelFormat, Gmask : int )" },
  { dao_SDL_PixelFormat_GETF_Bmask, ".Bmask( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Bmask, ".Bmask=( self : SDL_PixelFormat, Bmask : int )" },
  { dao_SDL_PixelFormat_GETF_Amask, ".Amask( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_Amask, ".Amask=( self : SDL_PixelFormat, Amask : int )" },
  { dao_SDL_PixelFormat_GETF_colorkey, ".colorkey( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_colorkey, ".colorkey=( self : SDL_PixelFormat, colorkey : int )" },
  { dao_SDL_PixelFormat_GETF_alpha, ".alpha( self : SDL_PixelFormat )=>int" },
  { dao_SDL_PixelFormat_SETF_alpha, ".alpha=( self : SDL_PixelFormat, alpha : int )" },
  { dao_SDL_PixelFormat_SDL_PixelFormat, "SDL_PixelFormat(  )=>SDL_PixelFormat" },
  { NULL, NULL }
};
static void Dao_SDL_PixelFormat_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_PixelFormat_Typer = 
{ "SDL_PixelFormat", NULL, 
  dao_SDL_PixelFormat_Nums,
  dao_SDL_PixelFormat_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_PixelFormat_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_PixelFormat_Typer = & SDL_PixelFormat_Typer;
static void dao_SDL_PixelFormat_GETF_palette( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->palette, dao_SDL_Palette_Typer );
}
static void dao_SDL_PixelFormat_GETF_BitsPerPixel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->BitsPerPixel );
}
static void dao_SDL_PixelFormat_SETF_BitsPerPixel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->BitsPerPixel = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_BytesPerPixel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->BytesPerPixel );
}
static void dao_SDL_PixelFormat_SETF_BytesPerPixel( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->BytesPerPixel = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Rloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Rloss );
}
static void dao_SDL_PixelFormat_SETF_Rloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Rloss = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Gloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Gloss );
}
static void dao_SDL_PixelFormat_SETF_Gloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Gloss = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Bloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Bloss );
}
static void dao_SDL_PixelFormat_SETF_Bloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Bloss = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Aloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Aloss );
}
static void dao_SDL_PixelFormat_SETF_Aloss( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Aloss = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Rshift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Rshift );
}
static void dao_SDL_PixelFormat_SETF_Rshift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Rshift = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Gshift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Gshift );
}
static void dao_SDL_PixelFormat_SETF_Gshift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Gshift = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Bshift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Bshift );
}
static void dao_SDL_PixelFormat_SETF_Bshift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Bshift = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Ashift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Ashift );
}
static void dao_SDL_PixelFormat_SETF_Ashift( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Ashift = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Rmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Rmask );
}
static void dao_SDL_PixelFormat_SETF_Rmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Rmask = (Uint32) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Gmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Gmask );
}
static void dao_SDL_PixelFormat_SETF_Gmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Gmask = (Uint32) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Bmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Bmask );
}
static void dao_SDL_PixelFormat_SETF_Bmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Bmask = (Uint32) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_Amask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Amask );
}
static void dao_SDL_PixelFormat_SETF_Amask( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->Amask = (Uint32) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_colorkey( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->colorkey );
}
static void dao_SDL_PixelFormat_SETF_colorkey( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->colorkey = (Uint32) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_GETF_alpha( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  DaoContext_PutInteger( _ctx, (int) self->alpha );
}
static void dao_SDL_PixelFormat_SETF_alpha( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_PixelFormat *self = (SDL_PixelFormat*)DValue_CastCData(_p[0],dao_SDL_PixelFormat_Typer);
  self->alpha = (Uint8) _p[1]->v.i;
}
static void dao_SDL_PixelFormat_SDL_PixelFormat( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_PixelFormat *self = Dao_SDL_PixelFormat_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_PixelFormat_Typer );
}

/*  SDL_events.h */


static void dao_SDL_QuitEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_QuitEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_QuitEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_QuitEvent_SDL_QuitEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_QuitEvent_Meths[] = 
{
  { dao_SDL_QuitEvent_GETF_type, ".type( self : SDL_QuitEvent )=>int" },
  { dao_SDL_QuitEvent_SETF_type, ".type=( self : SDL_QuitEvent, type : int )" },
  { dao_SDL_QuitEvent_SDL_QuitEvent, "SDL_QuitEvent(  )=>SDL_QuitEvent" },
  { NULL, NULL }
};
static void Dao_SDL_QuitEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_QuitEvent_Typer = 
{ "SDL_QuitEvent", NULL, 
  dao_SDL_QuitEvent_Nums,
  dao_SDL_QuitEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_QuitEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_QuitEvent_Typer = & SDL_QuitEvent_Typer;
static void dao_SDL_QuitEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_QuitEvent *self = (SDL_QuitEvent*)DValue_CastCData(_p[0],dao_SDL_QuitEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_QuitEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_QuitEvent *self = (SDL_QuitEvent*)DValue_CastCData(_p[0],dao_SDL_QuitEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_QuitEvent_SDL_QuitEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_QuitEvent *self = Dao_SDL_QuitEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_QuitEvent_Typer );
}

/*  SDL_rwops.h */


static void dao_SDL_RWops_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_RWops_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_RWops_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_RWops_SDL_RWops( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_RWops_Meths[] = 
{
  { dao_SDL_RWops_GETF_type, ".type( self : SDL_RWops )=>int" },
  { dao_SDL_RWops_SETF_type, ".type=( self : SDL_RWops, type : int )" },
  { dao_SDL_RWops_SDL_RWops, "SDL_RWops(  )=>SDL_RWops" },
  { NULL, NULL }
};
static void Dao_SDL_RWops_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_RWops_Typer = 
{ "SDL_RWops", NULL, 
  dao_SDL_RWops_Nums,
  dao_SDL_RWops_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_RWops_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_RWops_Typer = & SDL_RWops_Typer;
static void dao_SDL_RWops_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_RWops *self = (SDL_RWops*)DValue_CastCData(_p[0],dao_SDL_RWops_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_RWops_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_RWops *self = (SDL_RWops*)DValue_CastCData(_p[0],dao_SDL_RWops_Typer);
  self->type = (Uint32) _p[1]->v.i;
}
static void dao_SDL_RWops_SDL_RWops( DaoContext *_ctx, DValue *_p[], int _n )
{
	Dao_SDL_RWops *self = Dao_SDL_RWops_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}

/*  SDL_video.h */


static void dao_SDL_Rect_GETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_SETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_GETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_SETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_GETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_SETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_GETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Rect_SETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Rect_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Rect_SDL_Rect( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Rect_Meths[] = 
{
  { dao_SDL_Rect_GETF_x, ".x( self : SDL_Rect )=>int" },
  { dao_SDL_Rect_SETF_x, ".x=( self : SDL_Rect, x : int )" },
  { dao_SDL_Rect_GETF_y, ".y( self : SDL_Rect )=>int" },
  { dao_SDL_Rect_SETF_y, ".y=( self : SDL_Rect, y : int )" },
  { dao_SDL_Rect_GETF_w, ".w( self : SDL_Rect )=>int" },
  { dao_SDL_Rect_SETF_w, ".w=( self : SDL_Rect, w : int )" },
  { dao_SDL_Rect_GETF_h, ".h( self : SDL_Rect )=>int" },
  { dao_SDL_Rect_SETF_h, ".h=( self : SDL_Rect, h : int )" },
  { dao_SDL_Rect_SDL_Rect, "SDL_Rect(  )=>SDL_Rect" },
  { NULL, NULL }
};
static void Dao_SDL_Rect_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Rect_Typer = 
{ "SDL_Rect", NULL, 
  dao_SDL_Rect_Nums,
  dao_SDL_Rect_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Rect_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Rect_Typer = & SDL_Rect_Typer;
static void dao_SDL_Rect_GETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  DaoContext_PutInteger( _ctx, (int) self->x );
}
static void dao_SDL_Rect_SETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  self->x = (Sint16) _p[1]->v.i;
}
static void dao_SDL_Rect_GETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  DaoContext_PutInteger( _ctx, (int) self->y );
}
static void dao_SDL_Rect_SETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  self->y = (Sint16) _p[1]->v.i;
}
static void dao_SDL_Rect_GETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  DaoContext_PutInteger( _ctx, (int) self->w );
}
static void dao_SDL_Rect_SETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  self->w = (Uint16) _p[1]->v.i;
}
static void dao_SDL_Rect_GETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  DaoContext_PutInteger( _ctx, (int) self->h );
}
static void dao_SDL_Rect_SETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Rect *self = (SDL_Rect*)DValue_CastCData(_p[0],dao_SDL_Rect_Typer);
  self->h = (Uint16) _p[1]->v.i;
}
static void dao_SDL_Rect_SDL_Rect( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Rect *self = Dao_SDL_Rect_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Rect_Typer );
}

/*  SDL_events.h */


static void dao_SDL_ResizeEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ResizeEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ResizeEvent_GETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ResizeEvent_SETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ResizeEvent_GETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_ResizeEvent_SETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_ResizeEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_ResizeEvent_SDL_ResizeEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_ResizeEvent_Meths[] = 
{
  { dao_SDL_ResizeEvent_GETF_type, ".type( self : SDL_ResizeEvent )=>int" },
  { dao_SDL_ResizeEvent_SETF_type, ".type=( self : SDL_ResizeEvent, type : int )" },
  { dao_SDL_ResizeEvent_GETF_w, ".w( self : SDL_ResizeEvent )=>int" },
  { dao_SDL_ResizeEvent_SETF_w, ".w=( self : SDL_ResizeEvent, w : int )" },
  { dao_SDL_ResizeEvent_GETF_h, ".h( self : SDL_ResizeEvent )=>int" },
  { dao_SDL_ResizeEvent_SETF_h, ".h=( self : SDL_ResizeEvent, h : int )" },
  { dao_SDL_ResizeEvent_SDL_ResizeEvent, "SDL_ResizeEvent(  )=>SDL_ResizeEvent" },
  { NULL, NULL }
};
static void Dao_SDL_ResizeEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_ResizeEvent_Typer = 
{ "SDL_ResizeEvent", NULL, 
  dao_SDL_ResizeEvent_Nums,
  dao_SDL_ResizeEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_ResizeEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_ResizeEvent_Typer = & SDL_ResizeEvent_Typer;
static void dao_SDL_ResizeEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ResizeEvent *self = (SDL_ResizeEvent*)DValue_CastCData(_p[0],dao_SDL_ResizeEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_ResizeEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ResizeEvent *self = (SDL_ResizeEvent*)DValue_CastCData(_p[0],dao_SDL_ResizeEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_ResizeEvent_GETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ResizeEvent *self = (SDL_ResizeEvent*)DValue_CastCData(_p[0],dao_SDL_ResizeEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->w );
}
static void dao_SDL_ResizeEvent_SETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ResizeEvent *self = (SDL_ResizeEvent*)DValue_CastCData(_p[0],dao_SDL_ResizeEvent_Typer);
  self->w = (int) _p[1]->v.i;
}
static void dao_SDL_ResizeEvent_GETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ResizeEvent *self = (SDL_ResizeEvent*)DValue_CastCData(_p[0],dao_SDL_ResizeEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->h );
}
static void dao_SDL_ResizeEvent_SETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_ResizeEvent *self = (SDL_ResizeEvent*)DValue_CastCData(_p[0],dao_SDL_ResizeEvent_Typer);
  self->h = (int) _p[1]->v.i;
}
static void dao_SDL_ResizeEvent_SDL_ResizeEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_ResizeEvent *self = Dao_SDL_ResizeEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_ResizeEvent_Typer );
}

/*  SDL_video.h */


static void dao_SDL_Surface_GETF_flags( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_flags( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_pitch( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_pitch( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_pixels( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_offset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_offset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_clip_rect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_unused1( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_unused1( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_locked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_locked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_format_version( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_format_version( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_GETF_refcount( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_Surface_SETF_refcount( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_Surface_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_Surface_SDL_Surface( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_Surface_Meths[] = 
{
  { dao_SDL_Surface_GETF_flags, ".flags( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_flags, ".flags=( self : SDL_Surface, flags : int )" },
  { dao_SDL_Surface_GETF_format, ".format( self : SDL_Surface )=>SDL_PixelFormat" },
  { dao_SDL_Surface_GETF_w, ".w( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_w, ".w=( self : SDL_Surface, w : int )" },
  { dao_SDL_Surface_GETF_h, ".h( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_h, ".h=( self : SDL_Surface, h : int )" },
  { dao_SDL_Surface_GETF_pitch, ".pitch( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_pitch, ".pitch=( self : SDL_Surface, pitch : int )" },
  { dao_SDL_Surface_GETF_pixels, ".pixels( self : SDL_Surface )=>cdata" },
  { dao_SDL_Surface_GETF_offset, ".offset( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_offset, ".offset=( self : SDL_Surface, offset : int )" },
  { dao_SDL_Surface_GETF_clip_rect, ".clip_rect( self : SDL_Surface )=>SDL_Rect" },
  { dao_SDL_Surface_GETF_unused1, ".unused1( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_unused1, ".unused1=( self : SDL_Surface, unused1 : int )" },
  { dao_SDL_Surface_GETF_locked, ".locked( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_locked, ".locked=( self : SDL_Surface, locked : int )" },
  { dao_SDL_Surface_GETF_format_version, ".format_version( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_format_version, ".format_version=( self : SDL_Surface, format_version : int )" },
  { dao_SDL_Surface_GETF_refcount, ".refcount( self : SDL_Surface )=>int" },
  { dao_SDL_Surface_SETF_refcount, ".refcount=( self : SDL_Surface, refcount : int )" },
  { dao_SDL_Surface_SDL_Surface, "SDL_Surface(  )=>SDL_Surface" },
  { NULL, NULL }
};
static void Dao_SDL_Surface_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Surface_Typer = 
{ "SDL_Surface", NULL, 
  dao_SDL_Surface_Nums,
  dao_SDL_Surface_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Surface_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Surface_Typer = & SDL_Surface_Typer;
static void dao_SDL_Surface_GETF_flags( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->flags );
}
static void dao_SDL_Surface_SETF_flags( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->flags = (Uint32) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->format, dao_SDL_PixelFormat_Typer );
}
static void dao_SDL_Surface_GETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->w );
}
static void dao_SDL_Surface_SETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->w = (int) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->h );
}
static void dao_SDL_Surface_SETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->h = (int) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_pitch( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->pitch );
}
static void dao_SDL_Surface_SETF_pitch( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->pitch = (Uint16) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_pixels( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutCPointer( _ctx, (void*) self->pixels, 0 );
}
static void dao_SDL_Surface_GETF_offset( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->offset );
}
static void dao_SDL_Surface_SETF_offset( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->offset = (int) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_clip_rect( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->clip_rect, dao_SDL_Rect_Typer );
}
static void dao_SDL_Surface_GETF_unused1( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->unused1 );
}
static void dao_SDL_Surface_SETF_unused1( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->unused1 = (Uint32) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_locked( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->locked );
}
static void dao_SDL_Surface_SETF_locked( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->locked = (Uint32) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_format_version( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->format_version );
}
static void dao_SDL_Surface_SETF_format_version( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->format_version = (unsigned int) _p[1]->v.i;
}
static void dao_SDL_Surface_GETF_refcount( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  DaoContext_PutInteger( _ctx, (int) self->refcount );
}
static void dao_SDL_Surface_SETF_refcount( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_Surface *self = (SDL_Surface*)DValue_CastCData(_p[0],dao_SDL_Surface_Typer);
  self->refcount = (int) _p[1]->v.i;
}
static void dao_SDL_Surface_SDL_Surface( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_Surface *self = Dao_SDL_Surface_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_Surface_Typer );
}

/*  SDL_events.h */


static void dao_SDL_SysWMEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_SysWMEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_SysWMEvent_GETF_msg( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_SysWMEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_SysWMEvent_SDL_SysWMEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_SysWMEvent_Meths[] = 
{
  { dao_SDL_SysWMEvent_GETF_type, ".type( self : SDL_SysWMEvent )=>int" },
  { dao_SDL_SysWMEvent_SETF_type, ".type=( self : SDL_SysWMEvent, type : int )" },
  { dao_SDL_SysWMEvent_GETF_msg, ".msg( self : SDL_SysWMEvent )=>SDL_SysWMmsg" },
  { dao_SDL_SysWMEvent_SDL_SysWMEvent, "SDL_SysWMEvent(  )=>SDL_SysWMEvent" },
  { NULL, NULL }
};
static void Dao_SDL_SysWMEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_SysWMEvent_Typer = 
{ "SDL_SysWMEvent", NULL, 
  dao_SDL_SysWMEvent_Nums,
  dao_SDL_SysWMEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_SysWMEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_SysWMEvent_Typer = & SDL_SysWMEvent_Typer;
static void dao_SDL_SysWMEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_SysWMEvent *self = (SDL_SysWMEvent*)DValue_CastCData(_p[0],dao_SDL_SysWMEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_SysWMEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_SysWMEvent *self = (SDL_SysWMEvent*)DValue_CastCData(_p[0],dao_SDL_SysWMEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_SysWMEvent_GETF_msg( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_SysWMEvent *self = (SDL_SysWMEvent*)DValue_CastCData(_p[0],dao_SDL_SysWMEvent_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->msg, dao_SDL_SysWMmsg_Typer );
}
static void dao_SDL_SysWMEvent_SDL_SysWMEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_SysWMEvent *self = Dao_SDL_SysWMEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_SysWMEvent_Typer );
}

/*  SDL_events.h */


static DaoNumItem dao_SDL_SysWMmsg_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_SysWMmsg_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_SysWMmsg_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_SysWMmsg_Typer = 
{ "SDL_SysWMmsg", NULL, 
  dao_SDL_SysWMmsg_Nums,
  dao_SDL_SysWMmsg_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_SysWMmsg_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_SysWMmsg_Typer = & SDL_SysWMmsg_Typer;

/*  SDL_thread.h */


static DaoNumItem dao_SDL_Thread_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_Thread_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_Thread_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_Thread_Typer = 
{ "SDL_Thread", NULL, 
  dao_SDL_Thread_Nums,
  dao_SDL_Thread_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_Thread_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_Thread_Typer = & SDL_Thread_Typer;

/*  SDL_timer.h */


static DaoNumItem dao_SDL_TimerID_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_TimerID_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_TimerID_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_TimerID_Typer = 
{ "SDL_TimerID", NULL, 
  dao_SDL_TimerID_Nums,
  dao_SDL_TimerID_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_TimerID_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_TimerID_Typer = & SDL_TimerID_Typer;

/*  SDL_events.h */


static void dao_SDL_UserEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_UserEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_UserEvent_GETF_code( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_UserEvent_SETF_code( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_UserEvent_GETF_data1( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_UserEvent_GETF_data2( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_UserEvent_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_UserEvent_SDL_UserEvent( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_UserEvent_Meths[] = 
{
  { dao_SDL_UserEvent_GETF_type, ".type( self : SDL_UserEvent )=>int" },
  { dao_SDL_UserEvent_SETF_type, ".type=( self : SDL_UserEvent, type : int )" },
  { dao_SDL_UserEvent_GETF_code, ".code( self : SDL_UserEvent )=>int" },
  { dao_SDL_UserEvent_SETF_code, ".code=( self : SDL_UserEvent, code : int )" },
  { dao_SDL_UserEvent_GETF_data1, ".data1( self : SDL_UserEvent )=>cdata" },
  { dao_SDL_UserEvent_GETF_data2, ".data2( self : SDL_UserEvent )=>cdata" },
  { dao_SDL_UserEvent_SDL_UserEvent, "SDL_UserEvent(  )=>SDL_UserEvent" },
  { NULL, NULL }
};
static void Dao_SDL_UserEvent_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_UserEvent_Typer = 
{ "SDL_UserEvent", NULL, 
  dao_SDL_UserEvent_Nums,
  dao_SDL_UserEvent_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_UserEvent_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_UserEvent_Typer = & SDL_UserEvent_Typer;
static void dao_SDL_UserEvent_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_UserEvent *self = (SDL_UserEvent*)DValue_CastCData(_p[0],dao_SDL_UserEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_SDL_UserEvent_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_UserEvent *self = (SDL_UserEvent*)DValue_CastCData(_p[0],dao_SDL_UserEvent_Typer);
  self->type = (Uint8) _p[1]->v.i;
}
static void dao_SDL_UserEvent_GETF_code( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_UserEvent *self = (SDL_UserEvent*)DValue_CastCData(_p[0],dao_SDL_UserEvent_Typer);
  DaoContext_PutInteger( _ctx, (int) self->code );
}
static void dao_SDL_UserEvent_SETF_code( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_UserEvent *self = (SDL_UserEvent*)DValue_CastCData(_p[0],dao_SDL_UserEvent_Typer);
  self->code = (int) _p[1]->v.i;
}
static void dao_SDL_UserEvent_GETF_data1( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_UserEvent *self = (SDL_UserEvent*)DValue_CastCData(_p[0],dao_SDL_UserEvent_Typer);
  DaoContext_PutCPointer( _ctx, (void*) self->data1, 0 );
}
static void dao_SDL_UserEvent_GETF_data2( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_UserEvent *self = (SDL_UserEvent*)DValue_CastCData(_p[0],dao_SDL_UserEvent_Typer);
  DaoContext_PutCPointer( _ctx, (void*) self->data2, 0 );
}
static void dao_SDL_UserEvent_SDL_UserEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_UserEvent *self = Dao_SDL_UserEvent_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_UserEvent_Typer );
}

/*  SDL_video.h */


static void dao_SDL_VideoInfo_GETF_video_mem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_VideoInfo_SETF_video_mem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_VideoInfo_GETF_vfmt( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_VideoInfo_GETF_current_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_VideoInfo_SETF_current_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_VideoInfo_GETF_current_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_VideoInfo_SETF_current_h( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_VideoInfo_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_VideoInfo_SDL_VideoInfo( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_VideoInfo_Meths[] = 
{
  { dao_SDL_VideoInfo_GETF_video_mem, ".video_mem( self : SDL_VideoInfo )=>int" },
  { dao_SDL_VideoInfo_SETF_video_mem, ".video_mem=( self : SDL_VideoInfo, video_mem : int )" },
  { dao_SDL_VideoInfo_GETF_vfmt, ".vfmt( self : SDL_VideoInfo )=>SDL_PixelFormat" },
  { dao_SDL_VideoInfo_GETF_current_w, ".current_w( self : SDL_VideoInfo )=>int" },
  { dao_SDL_VideoInfo_SETF_current_w, ".current_w=( self : SDL_VideoInfo, current_w : int )" },
  { dao_SDL_VideoInfo_GETF_current_h, ".current_h( self : SDL_VideoInfo )=>int" },
  { dao_SDL_VideoInfo_SETF_current_h, ".current_h=( self : SDL_VideoInfo, current_h : int )" },
  { dao_SDL_VideoInfo_SDL_VideoInfo, "SDL_VideoInfo(  )=>SDL_VideoInfo" },
  { NULL, NULL }
};
static void Dao_SDL_VideoInfo_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_VideoInfo_Typer = 
{ "SDL_VideoInfo", NULL, 
  dao_SDL_VideoInfo_Nums,
  dao_SDL_VideoInfo_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_VideoInfo_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_VideoInfo_Typer = & SDL_VideoInfo_Typer;
static void dao_SDL_VideoInfo_GETF_video_mem( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  DaoContext_PutInteger( _ctx, (int) self->video_mem );
}
static void dao_SDL_VideoInfo_SETF_video_mem( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  self->video_mem = (Uint32) _p[1]->v.i;
}
static void dao_SDL_VideoInfo_GETF_vfmt( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->vfmt, dao_SDL_PixelFormat_Typer );
}
static void dao_SDL_VideoInfo_GETF_current_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  DaoContext_PutInteger( _ctx, (int) self->current_w );
}
static void dao_SDL_VideoInfo_SETF_current_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  self->current_w = (int) _p[1]->v.i;
}
static void dao_SDL_VideoInfo_GETF_current_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  DaoContext_PutInteger( _ctx, (int) self->current_h );
}
static void dao_SDL_VideoInfo_SETF_current_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_VideoInfo *self = (SDL_VideoInfo*)DValue_CastCData(_p[0],dao_SDL_VideoInfo_Typer);
  self->current_h = (int) _p[1]->v.i;
}
static void dao_SDL_VideoInfo_SDL_VideoInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_VideoInfo *self = Dao_SDL_VideoInfo_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_VideoInfo_Typer );
}

/*  SDL_mutex.h */


static DaoNumItem dao_SDL_cond_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_cond_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_cond_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_cond_Typer = 
{ "SDL_cond", NULL, 
  dao_SDL_cond_Nums,
  dao_SDL_cond_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_cond_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_cond_Typer = & SDL_cond_Typer;

/*  SDL_stdinc.h */


static DaoNumItem dao_SDL_iconv_t_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_iconv_t_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_iconv_t_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_iconv_t_Typer = 
{ "SDL_iconv_t", NULL, 
  dao_SDL_iconv_t_Nums,
  dao_SDL_iconv_t_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_iconv_t_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_iconv_t_Typer = & SDL_iconv_t_Typer;

/*  SDL_keyboard.h */


static void dao_SDL_keysym_GETF_scancode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_SETF_scancode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_GETF_sym( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_SETF_sym( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_GETF_mod( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_SETF_mod( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_GETF_unicode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_SDL_keysym_SETF_unicode( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_SDL_keysym_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_SDL_keysym_SDL_keysym( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_SDL_keysym_Meths[] = 
{
  { dao_SDL_keysym_GETF_scancode, ".scancode( self : SDL_keysym )=>int" },
  { dao_SDL_keysym_SETF_scancode, ".scancode=( self : SDL_keysym, scancode : int )" },
  { dao_SDL_keysym_GETF_sym, ".sym( self : SDL_keysym )=>int" },
  { dao_SDL_keysym_SETF_sym, ".sym=( self : SDL_keysym, sym : int )" },
  { dao_SDL_keysym_GETF_mod, ".mod( self : SDL_keysym )=>int" },
  { dao_SDL_keysym_SETF_mod, ".mod=( self : SDL_keysym, mod : int )" },
  { dao_SDL_keysym_GETF_unicode, ".unicode( self : SDL_keysym )=>int" },
  { dao_SDL_keysym_SETF_unicode, ".unicode=( self : SDL_keysym, unicode : int )" },
  { dao_SDL_keysym_SDL_keysym, "SDL_keysym(  )=>SDL_keysym" },
  { NULL, NULL }
};
static void Dao_SDL_keysym_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_keysym_Typer = 
{ "SDL_keysym", NULL, 
  dao_SDL_keysym_Nums,
  dao_SDL_keysym_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_keysym_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_keysym_Typer = & SDL_keysym_Typer;
static void dao_SDL_keysym_GETF_scancode( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  DaoContext_PutInteger( _ctx, (int) self->scancode );
}
static void dao_SDL_keysym_SETF_scancode( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  self->scancode = (Uint8) _p[1]->v.i;
}
static void dao_SDL_keysym_GETF_sym( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  DaoContext_PutInteger( _ctx, (int) self->sym );
}
static void dao_SDL_keysym_SETF_sym( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  self->sym = (SDLKey) _p[1]->v.i;
}
static void dao_SDL_keysym_GETF_mod( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  DaoContext_PutInteger( _ctx, (int) self->mod );
}
static void dao_SDL_keysym_SETF_mod( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  self->mod = (SDLMod) _p[1]->v.i;
}
static void dao_SDL_keysym_GETF_unicode( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  DaoContext_PutInteger( _ctx, (int) self->unicode );
}
static void dao_SDL_keysym_SETF_unicode( DaoContext *_ctx, DValue *_p[], int _n )
{
  SDL_keysym *self = (SDL_keysym*)DValue_CastCData(_p[0],dao_SDL_keysym_Typer);
  self->unicode = (Uint16) _p[1]->v.i;
}
static void dao_SDL_keysym_SDL_keysym( DaoContext *_ctx, DValue *_p[], int _n )
{
	SDL_keysym *self = Dao_SDL_keysym_New();
	DaoContext_PutCData( _ctx, self, dao_SDL_keysym_Typer );
}

/*  SDL_mutex.h */


static DaoNumItem dao_SDL_mutex_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_mutex_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_mutex_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_mutex_Typer = 
{ "SDL_mutex", NULL, 
  dao_SDL_mutex_Nums,
  dao_SDL_mutex_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_mutex_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_mutex_Typer = & SDL_mutex_Typer;

/*  SDL_mutex.h */


static DaoNumItem dao_SDL_sem_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SDL_sem_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SDL_sem_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SDL_sem_Typer = 
{ "SDL_sem", NULL, 
  dao_SDL_sem_Nums,
  dao_SDL_sem_Meths, 
  { 0 },
  { 0 },
  Dao_SDL_sem_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_SDL_sem_Typer = & SDL_sem_Typer;

/*  SDL_mouse.h */


static DaoNumItem dao_WMcursor_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_WMcursor_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_WMcursor_Delete( void *self )
{
	free( self );
}

static DaoTypeBase WMcursor_Typer = 
{ "WMcursor", NULL, 
  dao_WMcursor_Nums,
  dao_WMcursor_Meths, 
  { 0 },
  { 0 },
  Dao_WMcursor_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_WMcursor_Typer = & WMcursor_Typer;

/*   */


static DaoNumItem dao_private_hwdata_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_private_hwdata_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_private_hwdata_Delete( void *self )
{
	free( self );
}

static DaoTypeBase private_hwdata_Typer = 
{ "private_hwdata", NULL, 
  dao_private_hwdata_Nums,
  dao_private_hwdata_Meths, 
  { 0 },
  { 0 },
  Dao_private_hwdata_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_private_hwdata_Typer = & private_hwdata_Typer;

/*   */


static DaoNumItem dao_private_yuvhwdata_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_private_yuvhwdata_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_private_yuvhwdata_Delete( void *self )
{
	free( self );
}

static DaoTypeBase private_yuvhwdata_Typer = 
{ "private_yuvhwdata", NULL, 
  dao_private_yuvhwdata_Nums,
  dao_private_yuvhwdata_Meths, 
  { 0 },
  { 0 },
  Dao_private_yuvhwdata_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_private_yuvhwdata_Typer = & private_yuvhwdata_Typer;

/*   */


static DaoNumItem dao_private_yuvhwfuncs_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_private_yuvhwfuncs_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_private_yuvhwfuncs_Delete( void *self )
{
	free( self );
}

static DaoTypeBase private_yuvhwfuncs_Typer = 
{ "private_yuvhwfuncs", NULL, 
  dao_private_yuvhwfuncs_Nums,
  dao_private_yuvhwfuncs_Meths, 
  { 0 },
  { 0 },
  Dao_private_yuvhwfuncs_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_private_yuvhwfuncs_Typer = & private_yuvhwfuncs_Typer;

/*  SDL_stdinc.h */


static DaoNumItem dao_va_list_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_va_list_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_va_list_Delete( void *self )
{
	free( self );
}

static DaoTypeBase va_list_Typer = 
{ "va_list", NULL, 
  dao_va_list_Nums,
  dao_va_list_Meths, 
  { 0 },
  { 0 },
  Dao_va_list_Delete,
  NULL
};
DaoTypeBase DAO_DLL_SDL *dao_va_list_Typer = & va_list_Typer;

#ifdef __cplusplus
}
#endif

DaoTypeBase *dao_SDL_semaphore_Typer = & SDL_sem_Typer;
DaoTypeBase *dao__SDL_Joystick_Typer = & SDL_Joystick_Typer;
